<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>填写订单信息</title>
    <link rel="stylesheet" href="../css/shopping.css" />
    <link rel="stylesheet" href="../css/cartredary.css" />
    <style>
        .input-text {
            height: 40px;
        }
    </style>
</head>
<body>
<div class="site-header site-mini-header">
    <div class="container">
        <div class="header-logo">
            <a class="logo ir" href="/information/shouye" title="小米官网">小米官网</a>
        </div>
        <div class="header-title has-more">
            <h2>确认订单</h2>
        </div>
        <#list login as user>
        <div class="topbar-info ce" style="display: none;" id="ce">

						<span class="user">
								<a rel="nofollow" class="user-name"href="" target="_blank">

									<span class="panduan" style="display: none">${user}</span>
						<span class="userid" style="display: none">${user.userid}</span>
						<span class="name">${user.userName}</span><i class="iconfont-arrow-down-mini"></i>

						</a>
						<div class="user-menu-wrapper" style="height: 0px;">
							<ul class="user-menu">
								<li>
									<a href="">个人中心</a>
								</li>
								<li>
									<a href="">评价晒单</a>
								</li>
								<li>
									<a href="/like/select?userid=${user.userid}">我的喜欢</a>
								</li>
								<li>
									<a href="">小米账户</a>
								</li>
								<li>
									<a href="/user/logout">退出登录</a>
								</li>
							</ul>
						</div>
						</span>
            <span class="sep">|</span>
            <a rel="nofollow" class="link link-order" href="" target="_blank">我的订单</a>
        </div>
    </#list>
    <div class="topbar-info cea" style="display: none;" id="cea">

        <a href="/user/index" class="link">登录</a> <span class="sep">|</span>
        <a href="/like/select" class="link">注册</a><span class="sep">|</span><span class="message"><a
            href="" class="J_needAgreement">消息通知<i class="J_miMessageTotal"></i></a></span>
    </div>
</div>
<span class="kong" style="display: none"></span>
</div>

<div class="mi-checkout page-main">
    <form role="form" action="../wapPayServlet" method="get">
    <div class="container">
        <div  class="checkout-wrap">
            <!---->
            <div data-v-0166ce07="" class="checkout-detail">
                <div data-v-0166ce07="" class="fixed-header" style="display: none;">
                    <div data-v-0166ce07="" class="fixed-address-choose">
                        <a data-v-0166ce07="" href="" class="choose-btn btn btn-primary" data-stat-id="ee202123db3b6aa6" >选择该收货地址</a>
                        <div data-v-0166ce07="" class="address-title">
                            <span data-v-0166ce07="" class="address-desc">席亚博</span>
                            <span data-v-0166ce07="" class="address-desc">17630044916</span>
                            <span data-v-0166ce07="" class="address-desc">河南 洛阳市 西工区 九都西路太原路交叉口西洛阳融科北大青鸟</span>
                        </div>
                    </div>
                </div>
                <div data-v-0166ce07="" class="detail-section address-detail">
                    <div data-v-0166ce07="" class="address-header">
                        <span data-v-0166ce07="" class="header-title">收货地址</span>
                        <!---->
                        <!---->
                        <!---->
                        <!---->
                        <!---->
                    </div>
                    <!---->
                    <div data-v-039a89f6="" data-v-0166ce07="" class="address-list show-less-list"  style="">
                        <!---->
                        <#list address as address>
                        <div data-v-039a89f6="" class="address-item dizhi">
                            <div data-v-039a89f6="" class="address-info">
                                <span class="addressid" style="display: none">${address.addressid}</span>
                                <div data-v-039a89f6="" class="name">${address.contacts}<span data-v-039a89f6="" style="color: rgb(176, 176, 176);"></span></div>
                                <div data-v-039a89f6="" class="tel dianhua">${address.phone}</div>
                                <div data-v-039a89f6="" class="address-con">
                                    <span data-v-039a89f6="" class="sheng">${address.province}</span>
                                    <span data-v-039a89f6="" class="shi">${address.city}</span>
                                    <span data-v-039a89f6="" class="qu">${address.area}</span>
                                    <span data-v-039a89f6="" class="jie">${address.street}</span>
                                    <!---->
                                    <span data-v-039a89f6="" class="info xiangqing">${address.address}</span>
                                </div>
                                <div data-v-039a89f6="" class="address-action">
                                    <span data-v-039a89f6="" class="xiugai">修改</span>
                                    <!---->
                                </div>
                            </div>
                        </div>
                    </#list>
                        <div data-v-039a89f6="" class="address-item insertaddress">
                            <div data-v-039a89f6="" class="add-desc">
                                <i data-v-039a89f6="" class="iconfont iconfont-plus"></i>
                                <span data-v-039a89f6="">添加新地址</span>
                            </div>
                        </div>
                        <!---->
                    </div>
                </div>
                <div data-v-0166ce07="" class="detail-section">
                    <div data-v-0166ce07="" class="detail-header">商品及优惠券</div>
                    <div data-v-73ddf45a="" data-v-0166ce07="" class="goods-list jisuan">
                        <#list cartlist as cart>
                        <div data-v-73ddf45a="" class="good-item">
                            <div data-v-73ddf45a="" class="item-desc good-img"><img data-v-73ddf45a="" src="../img/${cart.img}" style="height: 30px;width: 30px"></div>
                            <div data-v-73ddf45a="" class="item-desc good-name">
                                <a data-v-73ddf45a="" href="" ><span data-v-73ddf45a="">${cart.name} ${cart.versiontype} ${cart.colorname}</span>
                                    <!---->
                                </a>
                            </div>
                            <div data-v-73ddf45a="" class="item-desc">
                                <div data-v-73ddf45a="" class="special-handling-differentiate">
                                    <span class="jiage" style="display: none;">${cart.pricea}</span>
                                    <span class="sum" style="display: none;">${cart.number}</span>
                                    <div data-v-73ddf45a="" class="item-desc good-price">${cart.pricea}元 x ${cart.number}</div>
                                    <div data-v-73ddf45a="" class="item-desc good-status"></div>
                                    <div data-v-73ddf45a="" class="item-desc good-total zongjia">${cart.totalprice}元</div>
                                </div>
                            </div>
                        </div>
                        </#list>
                    </div>
                </div>
                <div data-v-0166ce07="" class="detail-section">
                    <!---->
                    <div data-v-0166ce07="" class="section-options section-shipment">
                        <div data-v-0166ce07="" class="options-desc options-header">
                            <div data-v-0166ce07="" class="title">配送方式</div>
                        </div>
                        <div data-v-0166ce07="" class="options-desc options-body">
                            <div data-v-0166ce07="" class="options-list">
                                <div data-v-0166ce07="" class="options-item selected">包邮</div>
                            </div>
                        </div>
                    </div>
                    <div data-v-0166ce07="" class="section-options section-invoice">
                        <div data-v-0166ce07="" class="options-desc options-header">
                            <div data-v-0166ce07="" class="title">发票</div>
                        </div>
                        <div data-v-0166ce07="" class="options-desc options-body">
                            <div data-v-0166ce07="" class="options-list">
                                <div data-v-0166ce07="" class="options-item selected">电子普通发票</div>
                                <div data-v-0166ce07="" class="options-item selected">个人</div>
                                <div data-v-0166ce07="" class="options-item selected">商品明细</div>
                                <a data-v-0166ce07="" data-log_code="bid=3515489.4&amp;bpm=25.83.3513652.1" href="javascript:void(0);" class="options-item selected" data-stat-id="c723ef8064a7a3f0" onclick="_msq.push(['trackEvent', 'f8510bf55a388fba-c723ef8064a7a3f0', 'javascript:void0', 'pcpid', 'bid=3515489.4&amp;bpm=25.83.3513652.1']);">修改 &gt;</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div data-v-0166ce07="" class="detail-section count-detail">
                    <!---->
                    <div data-v-0166ce07="" class="section-discount">
                        <div data-v-0166ce07="" class="discount-coupon">
                            <!---->
                            <!---->
                        </div>
                        <div data-v-0166ce07="" class="position-box">
                            <div data-v-0166ce07="" class="discount-ecard">
                                <!---->
                            </div>
                            <!---->
                            <!---->
                        </div>
                        <!---->
                    </div>
                    <div data-v-0166ce07="" class="section-bill">
                        <#list number as number>
                        <div data-v-0166ce07="" class="bill-item">
                            <div data-v-0166ce07="" class="bill-name">商品件数：</div>
                            <div data-v-0166ce07="" class="bill-money">${number}件</div>
                        </div>
                        </#list>
                        <!---->
                        <!---->
                        <#list sumprice as sumprice>
                        <div data-v-0166ce07="" class="bill-item">
                            <div data-v-0166ce07="" class="bill-name">商品总价：</div>
                            <div data-v-0166ce07="" class="bill-money">${sumprice}元</div>
                        </div>
                        </#list>
                        <!---->
                        <!---->
                        <div data-v-0166ce07="" class="bill-item">
                            <div data-v-0166ce07="" class="bill-name">运费：</div>
                            <div data-v-0166ce07="" class="bill-money">0元</div>
                        </div>
                        <#list sumprice as sumprice>
                        <div data-v-0166ce07="" class="bill-item total-price">
                            <div data-v-0166ce07="" class="bill-name">应付总额：</div>
                            <input style="display: none" id="total_pricea" name="price" value="${sumprice}">
                            <div data-v-0166ce07="" class="bill-money"><em data-v-0166ce07="">${sumprice}</em>元</div>
                        </div>
                        </#list>
                    </div>
                </div>
                <div data-v-0166ce07="" class="detail-section footer-detail clearfix">
                    <div data-v-0166ce07="" class="footer-address hide">
                        <div data-v-0166ce07="" class="selecter-address">
                            <div data-v-0166ce07="" class="address-name namephone">席亚博 176****4916</div>
                            <div data-v-0166ce07="" class="address-desc">
                                <span data-v-0166ce07="" class="address">河南 洛阳市 汝阳县 水岸花城八号楼二单元七楼 </span>
                                <a data-v-0166ce07=""> 修改</a>
                            </div>
                        </div>
                        <!---->
                    </div>
                    <!---->
                    <div data-v-0166ce07="" class="handle-action">
                        <div data-v-0166ce07="" class="operating-button">
                            <input type="submit" class="btn btn-primary" value="去结算">
                            <input type="text" style="display: none;" class="ming"   name="name" value="小米购物">
                            <a data-v-0166ce07="" href="" class="btn btn-return" >返回购物车</a>
                        </div>
                        <!---->
                    </div>
                </div>
            </div>
         </form>
        </div>
    </div>
</div>


</div>
<!-- 底部 -->
<div>
    <div class="site-footer">
        <div class="container">
            <div class="footer-service">
                <ul class="list-service clearfix">
                    <li>
                        <a href=""><em class="iconfont-tool"></em>预约维修服务</a>
                    </li>
                    <li>
                        <a href=""><em class="iconfont-circle-7"></em>7天无理由退货</a>
                    </li>
                    <li>
                        <a href=""><em class="iconfont-circle-15"></em>15天免费换货</a>
                    </li>
                    <li>
                        <a href=""><em class="iconfont-gift"></em>满99元包邮</a>
                    </li>
                    <li>
                        <a href=""><em class="iconfont-location"></em>520余家售后网点</a>
                    </li>
                </ul>
            </div>
            <div class="footer-links clearfix">
                <dl class="col-links col-links-first"><dt>帮助中心</dt>
                    <dd>
                        <a href="" target="_blank">账户管理</a>
                    </dd>
                    <dd>
                        <a href="" target="_blank">购物指南</a>
                    </dd>
                    <dd>
                        <a href="" target="_blank">订单操作</a>
                    </dd>
                </dl>
                <dl class="col-links "><dt>服务支持</dt>
                    <dd>
                        <a href="">售后政策</a>
                    </dd>
                    <dd>
                        <a href="">自助服务</a>
                    </dd>
                    <dd>
                        <a href="">相关下载</a>
                    </dd>
                </dl>
                <dl class="col-links "><dt>线下门店</dt>
                    <dd>
                        <a href="">小米之家</a>
                    </dd>
                    <dd>
                        <a href="">服务网点</a>
                    </dd>
                    <dd>
                        <a href="">授权体验店</a>
                    </dd>
                </dl>
                <dl class="col-links "><dt>关于小米</dt>
                    <dd>
                        <a href="">了解小米</a>
                    </dd>
                    <dd>
                        <a href="">加入小米</a>
                    </dd>
                    <dd>
                        <a href="">投资者关系</a>
                    </dd>
                    <dd>
                        <a href="">廉洁举报</a>
                    </dd>
                </dl>
                <dl class="col-links "><dt>关注我们</dt>
                    <dd>
                        <a href="">新浪微博</a>
                    </dd>
                    <dd>
                        <a href="">官方微信</a>
                    </dd>
                    <dd>
                        <a href="">联系我们</a>
                    </dd>
                    <dd>
                        <a href="">公益基金会</a>
                    </dd>
                </dl>
                <dl class="col-links "><dt>特色服务</dt>
                    <dd>
                        <a href="">F 码通道</a>
                    </dd>
                    <dd>
                        <a href="">礼物码</a>
                    </dd>
                    <dd>
                        <a href="">防伪查询</a>
                    </dd>
                </dl>
                <div class="col-contact">
                    <p class="phone">400-100-5678</p>
                    <p>周一至周日 8:00-18:00<br>（仅收市话费）</p>
                    <a class="btn btn-line-primary btn-small"><em class="iconfont-message2"></em> 人工客服</a>
                </div>
            </div>
        </div>
    </div>
    <div class="site-info">
        <div class="container">
            <div class="logo ir">小米官网</div>
            <div class="info-text">
                <p class="sites">
                    <a href="">小米商城</a> <span class="sep">|</span>
                    <a href="">MIUI</a> <span class="sep">|</span>
                    <a href="">米家</a> <span class="sep">|</span>
                    <a href="">米聊</a> <span class="sep">|</span>
                    <a href="">多看</a> <span class="sep">|</span>
                    <a href="">游戏</a> <span class="sep">|</span>
                    <a href="">政企服务</a> <span class="sep">|</span>
                    <a href="">小米天猫店</a> <span class="sep">|</span>
                    <a href="">小米集团隐私政策</a> <span class="sep">|</span>
                    <a href="">小米公司儿童信息保护规则</a> <span class="sep">|</span>
                    <a href="">小米商城隐私政策</a> <span class="sep">|</span>
                    <a href="">小米商城用户协议</a> <span class="sep">|</span>
                    <a href="">问题反馈</a> <span class="sep">|</span>
                    <a href="">Select Location</a>
                </p>
                <p>
                    ©
                    <a href="" target="_blank">mi.com</a> 京ICP证110507号
                    <a href="" target="_blank">京ICP备10046444号</a>
                    <a href="" target="_blank">京公网安备11010802020134号</a>
                    <a href="" target="_blank">京网文[2020]0276-042号</a> <br>
                    <a href="" target="_blank">（京）网械平台备字（2018）第00005号</a>
                    <a href="" target="_blank">互联网药品信息服务资格证 (京)-非经营性-2014-0090</a>
                    <a href="" target="_blank">营业执照</a>
                    <a href="" target="_blank">医疗器械质量公告</a> <br>
                    <a href="" target="_blank">增值电信业务许可证</a>&nbsp;网络食品经营备案（京）【2018】WLSPJYBAHF-12&nbsp;
                    <a href="" target="_blank">食品经营许可证</a> <br> 违法和不良信息举报电话：185-0130-1238&nbsp;
                    <a href="" target="_blank">知识产权侵权投诉</a>&nbsp;本网站所列数据，除特殊说明，所有数据均出自我司实验室测试
                </p>
            </div>
            <div class="info-links">
                <a href=""><img src="//i1.mifile.cn/f/i/17/site/truste.png" alt="TRUSTe Privacy Certification"></a>
                <a href=""><img src="//s01.mifile.cn/i/v-logo-2.png" alt="诚信网站"></a>
                <a href=""><img src="//s01.mifile.cn/i/v-logo-1.png" alt="可信网站"></a>
                <a href=""><img src="//i8.mifile.cn/b2c-mimall-media/ba10428a4f9495ac310fd0b5e0cf8370.png" alt="诚信经营 放心消费"></a>
            </div>
        </div>
        <div class="slogan ir">探索黑科技，小米为发烧而生</div>
    </div>
</div>
</div>
<script src="../js/jquery.min.js"></script>
<script src="../js/cartready.js"></script>
<script>
    $(".dizhi").click(function(){
        var name="",
            phone="",
            sheng="",
            shi="",
            qu="",
            jie="",
            xiangqing="";
        name=$(this).find(".name").text();
        phone=$(this).find(".dianhua").text();
        sheng=$(this).find(".sheng").text();
        shi=$(this).find(".shi").text();
        qu=$(this).find(".qu").text();
        jie=$(this).find(".jie").text();
        xiangqing=$(this).find(".xiangqing").text();
        $(".footer-address").removeClass("hide");
        $(".namephone").text(name+'\xa0'+phone);
        $(".address").text(sheng+'\xa0'+shi+'\xa0'+qu+'\xa0'+jie+' '+xiangqing);
    })

    //获取用户id
    var userid = $(".userid").text();
    //获取喜欢商品的id
    var informationid = $(".informationid").text();
    window.onload = function() {
        //判断是否有用户信息
        var panduan = $('.panduan').text();
        $(".kong").text(panduan);
        var b= $(".kong").text();
        if(b != ""  ){
            $(".ce").css("display","block");
        }else{
            $(".cea").css("display","block");
        }
    };

    $('.user').hover(
        function() {
            $(this).addClass('user-active')
            $('.user-menu-wrapper').height(164);
        },
        function() {
            $(this).removeClass('user-active')
            $('.user-menu-wrapper').height(0);
        }
    )
</script>
</body>
</html>